GMF: A Model Migration Case for the Transformation Tool Contest
نویسنده
چکیده
Modeling languages and thus their metamodels are subject to evolution [2]. When a metamodel is adapted, existing models may no longer conform to the adapted metamodel and thus need to be migrated. Model migration is a special case of exogenous model transformation [7], since original and adapted metamodel are usually different from each other. However, the metamodel versions also share some similarity, as the metamodel is usually not completely changed during metamodel adaptation [14]. Consequently, migrating transformation definitions usually contain identity rules for the unchanged metamodel parts. To remove this boilerplate code, different approaches have been proposed [13]. Manual specification approaches—like Sprinkle’s language [14], MCL [8] and Epsilon Flock [11]— extend transformation languages so that they automatically copy model elements that are unaffected by metamodel adaptations. Operator-based approaches—like Ecoral [15] and COPE [4]—provide reusable operators that encapsulate recurring metamodel adaptations and model migrations. Metamodel matching approaches—like Cicchetti’s approach [1] and AML [3]—automatically derive a transformation definition from the difference between two metamodel versions. The existing approaches mostly use or extend existing model transformation languages and tools. To compare the different ways in which model migration can be defined, we propose a real-life case from the evolution of the Graphical Modeling Framework (GMF). The case is already well-researched, as it has been used in an empirical [5] and a comparative study [10]. It exhibits a number of differences to last year’s migration case [12]: (1) Most of the metamodel remains the same which is more typical for model migration. (2) The migration is more complex and thus requires more expressive transformation languages. (3) GMF provides a reference migrator implemented in Java which defines the migration semantics. (4) GMF provides a number of test cases which can be used for validating the solutions.
منابع مشابه
Graph and Model Transformation Tools for Model Migration Empirical Results from the Transformation Tool Contest
We describe the results of the Transformation Tool Contest 2010 workshop, in which nine graph and model transformation tools have been compared for specifying model migration. The model migration problem — migration of UML activity diagrams from version 1.4 to version 2.2 — is non-trivial and practically relevant. The solutions have been compared with respect to several criteria: correctness, c...
متن کاملEuGENia: Taming EMF and GMF using Model Transformation
EMF and GMF are powerful frameworks for implementing tool support for modelling languages in Eclipse. However, with power comes complexity; implementing a graphical editor for a modelling language using EMF and GMF requires developers to hand craft and maintain several low level-interconnected models through a loosely-guided, labour-intensive and error-prone process. In this paper we demonstrat...
متن کاملHelloWorld! An Instructive Case for the Transformation Tool Contest
This case comprises several primitive tasks that can be solved straight away with most transformation tools. The aim is to cover the most important kinds of primitive operations on models, i.e. create, read, update and delete (CRUD). To this end, tasks such as a constant transformation, a model-to-text transformation, a very basic migration transformation or diverse simple queries or in-place o...
متن کاملModel-Driven Development of Graphical Tools - Fujaba Meets GMF
In this paper we describe and evaluate our combination of the Fujaba CASE-Tool with the Graphical Modeling Framework (GMF) of the Eclipse IDE. We created an operational model with Fujaba and used it as input for a GMF editor generation process. This allows us to introduce a new approach for generating fully operational models including graphical editors for model representation and transformati...
متن کاملMigrating Activity Diagrams with Epsilon Flock
The Transformation Tools Contest 2010 workshop invites solutions to a model migration case in which UML activity diagrams are to be migrated from UML 1.4 to UML 2.2. This paper presents a solution to this case, which uses Epsilon Flock, a model transformation language tailored for model migration.
متن کامل